﻿package view.message
{
    import morn.core.components.*;

    public class AlertUI extends View
    {
        public var bg:Image;
        public var closeBtn:Button;
        public var title:Label;
        public var textField:Label;
        public var btn1:Button;
        public var btn2:Button;
        protected var uiXML:XML;

        public function AlertUI()
        {
            this.uiXML = <View>
n	t	t	t  <Image url=""png.common.cs2_tsbg"" x=""0"" y=""0"" sizeGrid=""75,35,75,40"" width=""258"" height=""185"" var=""bg""/>
n	t	t	t  <Button skin=""png.common.btn_cs2_close"" x=""225"" y=""4"" var=""closeBtn""/>
n	t	t	t  <Label text=""label"" x=""38"" y=""8"" width=""183"" height=""18"" color=""0xffffff"" font=""SimSun"" align=""center"" size=""14"" var=""title"" bold=""true""/>
n	t	t	t  <Label text=""是水水水水水水水水水水水水手动阀撒打发水电费"" x=""29"" y=""53"" width=""200"" autoSize=""left"" color=""0xc72541"" isHtml=""true"" multiline=""true"" wordWrap=""true"" stroke=""0x00"" var=""textField"" leading=""5"" height=""39""/>
n	t	t	t  <Button label=""确定"" skin=""png.common.btn_cs2btn"" x=""29"" y=""130"" labelColors=""0xb29a6c,0xb29a6c,0xb29a6c"" labelStroke=""0x0"" var=""btn1"" width=""87""/>
n	t	t	t  <Button label=""取消"" skin=""png.common.btn_cs2btn"" x=""144"" y=""130"" labelColors=""0xb29a6c,0xb29a6c,0xb29a6c"" labelStroke=""0x0"" var=""btn2"" width=""87""/>
n	t	t	t</View>")("<View>
			  <Image url="png.common.cs2_tsbg" x="0" y="0" sizeGrid="75,35,75,40" width="258" height="185" var="bg"/>
			  <Button skin="png.common.btn_cs2_close" x="225" y="4" var="closeBtn"/>
			  <Label text="label" x="38" y="8" width="183" height="18" color="0xffffff" font="SimSun" align="center" size="14" var="title" bold="true"/>
			  <Label text="是水水水水水水水水水水水水手动阀撒打发水电费" x="29" y="53" width="200" autoSize="left" color="0xc72541" isHtml="true" multiline="true" wordWrap="true" stroke="0x00" var="textField" leading="5" height="39"/>
			  <Button label="确定" skin="png.common.btn_cs2btn" x="29" y="130" labelColors="0xb29a6c,0xb29a6c,0xb29a6c" labelStroke="0x0" var="btn1" width="87"/>
			  <Button label="取消" skin="png.common.btn_cs2btn" x="144" y="130" labelColors="0xb29a6c,0xb29a6c,0xb29a6c" labelStroke="0x0" var="btn2" width="87"/>
			</View>;
            return;
        }// end function

        override protected function createChildren() : void
        {
            createView(this.uiXML);
            return;
        }// end function

    }
}
